<template>
  <view class="app-container">
    <slot></slot>
  </view>
</template>

<script setup>
import { onMounted } from "vue";

// 获取全局的http实例
import http from "./utils/http.js";

// 获取购物车数量
http.getCartCount();

</script>

<style lang="scss" scoped>
@import "./app.css";

.app-container {
  min-height: 100vh;
}

/* 隐藏原生tabBar */
/* 隐藏头部 */
uni-page-head {
  display: none;
}
/* 轮播图指示点 */
uni-swiper .uni-swiper-dots-horizontal {
  bottom: 20px !important;
}
</style>
